package cn.com.api.entity.base;

import java.io.Serializable;
import java.util.Date;

import cn.com.api.util.*;

// T_token Entity

/// <summary>
/// Datetime: 2016/1/4 13:19:11		
/// Genegrated automatically. Don't write your logic code here.	
/// the entity of table T_token.
/// </summary>

public class T_tokenBase implements Serializable {

	private static final long serialVersionUID = 00L;

	// Genegrated Automatically.

	// Id
	private Integer id = 0;

	// Userid
	private String userid = "";

	// Memberid
	private String memberid="";

	// Token
	private String token="";

	// Longitude
	private String longitude="";

	// Latitude
	private String latitude="";

	// 角色：0-用户 3-配送员 Role
	private Integer role=0;

	// 操作时间
	private String operatedate = DateUtil.nowTimeToString();

	public T_tokenBase() {
		super();
	}

	public T_tokenBase(Integer id, String userid, String memberid,
			String token, String longitude, String latitude, Integer role,
			String operatedate) {
		this.id = id;
		this.userid = userid;
		this.memberid = memberid;
		this.token = token;
		this.longitude = longitude;
		this.latitude = latitude;
		this.role = role;
		this.operatedate = operatedate;
	}

	// Id
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	// Userid
	public String getUserid() {
		return this.userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	// Memberid
	public String getMemberid() {
		return this.memberid;
	}

	public void setMemberid(String memberid) {
		this.memberid = memberid;
	}

	// Token
	public String getToken() {
		return this.token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	// Longitude
	public String getLongitude() {
		return this.longitude;
	}

	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}

	// Latitude
	public String getLatitude() {
		return this.latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}

	// Role
	public Integer getRole() {
		return this.role;
	}

	public void setRole(Integer role) {
		this.role = role;
	}

	public String getOperatedate() {
		return operatedate;
	}

	public void setOperatedate(String operatedate) {
		this.operatedate = operatedate;
	}

}
